import { createApp } from "vue";
import App from "./App.vue";

import "./assets/style/main.css";
import "@unocss/reset/tailwind.css";
import "uno.css";
import router from "./router";
import { createPinia } from "pinia";

import i18n from '~/locales'

console.log("环境===》", import.meta.env);

/**
 * 解决tailwind的样式冲突
 */
const meta = document.createElement("meta");
meta.name = "naive-ui-style";
document.head.appendChild(meta);

const app = createApp(App);

const pinia = createPinia();

app.use(router);

app.use(pinia);

// 多语言配置
app.use(i18n)

app.mount("#app");
